SOURCES=main.c graph.c stats.c shortest_path.c artic.c subgraph.c
OBJECTS=$(SOURCES:.c=.o)
CC=gcc
CFLAGS=-g3 -Wall
LDFLAGS=
TARGET=cecs619project3

${TARGET}: ${OBJECTS}
	${CC} ${CFLAGS} ${LDFLAGS} $^ -o $@

%.o: %.c
	${CC} -c ${CFLAGS} $<

clean:
	rm -rf *.o ${TARGET}

